package com.xmy.study.feign;

import com.xmy.study.entity.response.ResLogin;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "MATH-ERP")
public interface AdminFeignClient {

    @PostMapping("/api/erp/login")
    public abstract String Login(@RequestBody ResLogin resLogin);
}
